
<script>
    var Wei4Ma10View = {
        props:{
            dataList: {
                type: [Object, Array],
                default: () => {
                    return {};
                }
            },
            nextJob : {
                type: Object,
                default: () => {
                    return {};
                }
            },
        },
        template:`<div class="duilianpt">
                    <template v-if="dataList.meansList && dataList.meansList.length">
                        <div v-for="(item,inx) in dataList.meansList" :key="inx" class="double_line">
                            <div class="text-center">
                                <span class="green1-text">{{initIssue(item.issue)}}期： {{dataList.remarks}} 开
                                    <span class="color-red" v-if="item.is_true == 0">？00</span>
                                    <span class="color-red" v-else-if="item.drawp">{{item.drawp}}</span>
                                    <span v-if="item.is_true == 1">中</span>
                                    <span v-else-if="item.is_true == 2">错</span>
                                    <span v-else>??</span>
                                </span>
                            </div>
                            <template v-if="item.means && item.means[0] && item.means[0].length">
                                <div class="text-container">
                                    <div class="text-item black-text" v-for="(vl,vk) in item.means[0]" :key="vk">
                                        <span class="red-text"  :class="{'bg-yellow':vl.isTrue}">{{vl.value}}:</span>
                                        <span v-if="vl.child && vl.child.length" class="black-text">
                                            主(
                                                <span :class="{'bg-yellow':fv.isTrue,'blue-text':(fv.color == 'blue'), 'green1-text':(fv.color == 'green'), 'red-text':(fv.color == 'red')}" v-for="(fv,fk) in vl.child" :key="fk">
                                                    {{fv.value}}
                                                    <span v-if="fk < vl.child.length-1">.</span>
                                                </span>
                                            )
                                        </span>
                                    </div>
                                </div>
                            </template>
                        </div>
                    </template>
                </div>`,
        data() { return { nextList:{} } },
        extends:moldExtend,
        mounted() { },
    }
</script>